package com.pinoc.demo.domain.es;

/**
 * @author yinpeng
 */
public class EsUserDocument {

	private Long id;

	private String name;

	private int age;

	private String desc;

	public EsUserDocument() {
	}

	public EsUserDocument(String name, int age) {
		this.name = name;
		this.age = age;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	@Override
	public String toString() {
		return "EsUserDocument{" +
				"id=" + id +
				", name='" + name + '\'' +
				", age=" + age +
				", desc='" + desc + '\'' +
				'}';
	}
}
